﻿using System;
using System.Web.UI;

namespace OpenWaves.ImageTransformations.Showcase
{
    public partial class ResponsiveImage : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.DataBind();
        }

        protected bool RenderXhtmlCompilantMarkup
        {
            get
            {
                if (this.Request.QueryString["XhtmlCompilant"] != null)
                    return this.Request.QueryString["XhtmlCompilant"].Equals("true", StringComparison.OrdinalIgnoreCase);
                return false;
            }
        }
    }
}